<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <device-spray-ctocabinet-monitor :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="历史数据">
        <device-spray-ctocabinet-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="设备状态">
        <device-spray-ctocabinet-state :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="告警数据">
        <device-spray-ctocabinet-alarm :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="全局控制">
        <device-spray-ctocabinet-config-switch :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="喷淋设置">
        <device-spray-ctocabinet-config-spray-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="其他设置">
        <device-spray-ctocabinet-config-other :data="data" />
      </a-tab-pane>
      <a-tab-pane key="8" tab="推送情况">
        <device-spray-config-queue :data="data" />
      </a-tab-pane>
      <a-tab-pane key="9" tab="固件升级">
        <device-spray-ctocabinet-firmware-upgrade :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceSprayCtocabinetMonitor from './ctocabinet-monitor.vue';
import DeviceSprayCtocabinetData from './ctocabinet-data.vue';
import DeviceSprayCtocabinetConfigSwitch from './ctocabinet-config-switch.vue';
import DeviceSprayCtocabinetConfigSprayData from './ctocabinet-config-spray-data.vue';
import DeviceSprayCtocabinetAlarm from './ctocabinet-alarm.vue'
import DeviceSprayConfigQueue from './ctocabinet-config-queue.vue'
import DeviceSprayCtocabinetConfigOther from './ctocabinet-config-other.vue'
import DeviceSprayCtocabinetState from './ctocabinet-state.vue'
import DeviceSprayCtocabinetFirmwareUpgrade from './ctocabinet-firmware-upgrade.vue'
export default {
  name: 'DeviceSprayCtocabinet',
  components: {
    DeviceSprayCtocabinetMonitor,
    DeviceSprayCtocabinetData,
    DeviceSprayCtocabinetConfigSwitch,
    DeviceSprayCtocabinetConfigSprayData,
    DeviceSprayCtocabinetAlarm,
    DeviceSprayConfigQueue,
    DeviceSprayCtocabinetConfigOther,
    DeviceSprayCtocabinetState,
    DeviceSprayCtocabinetFirmwareUpgrade
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
